package cn.tedu._06article.mapper;

import cn.tedu._06article.pojo.entity.Article;
import cn.tedu._06article.pojo.vo.UserArticleVO;
import cn.tedu._06article.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    UserVO selectByUsernameAndPassword(@Param("username") String username,
                                       @Param("password") String password);

    int insertArticle(Article article);

    UserArticleVO selectByArticleId(Integer id);
}
